package factory.simple;

public class Consumer {
    public static void main(String[] args) {
        Car car1=Factory.getCar("Audi");
        Car car2=Factory.getCar("BMW");
        Car car3=Factory.getCar("Jeep");
        car1.name();
        car2.name();
        car3.name();

    }





}
